package com.cskaoyan.service;

import com.cskaoyan.module.bean.MarketCouponInfo;
import com.cskaoyan.module.bo.CouponCreateParamBo;
import com.cskaoyan.module.bo.CouponListParamsBo;
import com.cskaoyan.module.bo.CouponListUserParamBo;
import com.cskaoyan.module.ddp.bo.CouponMyListParamsBo;
import com.cskaoyan.module.ddp.vo.CouponListVo;
import com.cskaoyan.module.ddp.vo.CouponVo;
import com.cskaoyan.module.pojo.MarketCoupon;
import com.cskaoyan.module.pojo.MarketCouponUser;
import com.cskaoyan.module.vo.MarketCouponVo;

public interface PopularizeService {
    MarketCouponVo list(CouponListParamsBo params);

    MarketCoupon create(CouponCreateParamBo params);

    MarketCouponVo listUser(CouponListUserParamBo params);

    MarketCoupon update(MarketCoupon  params);

    int delete(MarketCoupon params);

    MarketCouponInfo read(Integer params);

    MarketCouponVo listLimit0(Integer limit);

    MarketCouponVo listAll();


    CouponVo mylist(CouponMyListParamsBo params);

    MarketCouponUser receive(Integer couponId);

    MarketCoupon exchange(String code);

    CouponVo selectlist(Integer cartId, Integer grouponRulesId);

    CouponListVo listAllCoupons(CouponMyListParamsBo params);
}
